<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
<meta content="DragZoomControl,com.google.maps.extras.dragzoomcontrol.DragZoomControl,DEFAULT_MARGIN_LEFT,DEFAULT_MARGIN_TOP,DEFAULT_SELECTION_ALPHA,DEFAULT_SELECTION_BG_COLOR,DEFAUT_DRAG_ZOOM_MSG,DEFAUT_LINE_COLOR" name="keywords">
<title>com.google.maps.extras.dragzoomcontrol.DragZoomControl</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'DragZoomControl - API Documentation';
				var baseRef = '../../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../../index.html?com/google/maps/extras/dragzoomcontrol/DragZoomControl.html&amp;com/google/maps/extras/dragzoomcontrol/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;DragZoomControl</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class DragZoomControl"); titleBar_setSubNav(true,false,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.google.maps.extras.dragzoomcontrol</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class DragZoomControl</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">DragZoomControl <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../../images/inherit-arrow.gif"> com.google.maps.controls.ControlBase</td>
</tr>
</table>
<p></p>
<p></p>
<br>
<hr>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#DragZoomControl()">DragZoomControl</a>(optMarginTop:int, optMarginLeft:int, optSelectionBGColor:Number, optSelectionLineColor:Number, optSelectionAlpha:Number, optDragZoomMsg:String)</div>
<div class="summaryTableDescription">
   Creates the DragZoom control
      </div>
</td><td class="summaryTableOwnerCol">DragZoomControl</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:zoomCommit">zoomCommit</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
   Dispatched when a Zoom is committed
  
   </td><td class="summaryTableOwnerCol">DragZoomControl</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_MARGIN_LEFT">DEFAULT_MARGIN_LEFT</a> : int = 7<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">DragZoomControl</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_MARGIN_TOP">DEFAULT_MARGIN_TOP</a> : int = 7<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">DragZoomControl</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_SELECTION_ALPHA">DEFAULT_SELECTION_ALPHA</a> : Number = 0.5<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">DragZoomControl</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAULT_SELECTION_BG_COLOR">DEFAULT_SELECTION_BG_COLOR</a> : Number = 0xFFFFFF<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">DragZoomControl</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAUT_DRAG_ZOOM_MSG">DEFAUT_DRAG_ZOOM_MSG</a> : String = "click and drag mouse to zoom into area"<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">DragZoomControl</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DEFAUT_LINE_COLOR">DEFAUT_LINE_COLOR</a> : Number = 0x000000<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">DragZoomControl</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="DragZoomControl()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DragZoomControl</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function DragZoomControl(optMarginTop:int, optMarginLeft:int, optSelectionBGColor:Number, optSelectionLineColor:Number, optSelectionAlpha:Number, optDragZoomMsg:String)</code><p>
   Creates the DragZoom control
      </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">optMarginTop</span>:int</code> &mdash; The top margin of the control in points. 
     </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">optMarginLeft</span>:int</code> &mdash; The left margin of the control in points. 
     </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">optSelectionBGColor</span>:Number</code> &mdash; The background color message text. 
     </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">optSelectionLineColor</span>:Number</code> &mdash; The line color of the selection area. 
     </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">optSelectionAlpha</span>:Number</code> &mdash; The alpha value of the selection area. 
     </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">optDragZoomMsg</span>:String</code> &mdash; The message displayed on screen when the control is enabled. 
     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../dragzoomcontrol/DragZoomControl.html#DEFAULT_MARGIN_TOP" target="">DEFAULT_MARGIN_TOP</a>
<br>
<a href="../dragzoomcontrol/DragZoomControl.html#DEFAULT_MARGIN_LEFT" target="">DEFAULT_MARGIN_LEFT</a>
<br>
<a href="../dragzoomcontrol/DragZoomControl.html#DEFAULT_SELECTION_BG_COLOR" target="">DEFAULT_SELECTION_BG_COLOR</a>
<br>
<a href="../dragzoomcontrol/DragZoomControl.html#DEFAUT_LINE_COLOR" target="">DEFAUT_LINE_COLOR</a>
<br>
<a href="../dragzoomcontrol/DragZoomControl.html#DEFAULT_SELECTION_ALPHA" target="">DEFAULT_SELECTION_ALPHA</a>
<br>
<a href="../dragzoomcontrol/DragZoomControl.html#DEFAUT_DRAG_ZOOM_MSG" target="">DEFAUT_DRAG_ZOOM_MSG</a>
</div>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:zoomCommit"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">zoomCommit</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>com.google.maps.extras.dragzoomcontrol.events.DragZoomEvent</code></a>
<br>
<p></p><p>
   Dispatched when a Zoom is committed
  
   </p></div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="DEFAULT_MARGIN_LEFT"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DEFAULT_MARGIN_LEFT</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const DEFAULT_MARGIN_LEFT:int = 7</code>
</div>
<a name="DEFAULT_MARGIN_TOP"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DEFAULT_MARGIN_TOP</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const DEFAULT_MARGIN_TOP:int = 7</code>
</div>
<a name="DEFAULT_SELECTION_ALPHA"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DEFAULT_SELECTION_ALPHA</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const DEFAULT_SELECTION_ALPHA:Number = 0.5</code>
</div>
<a name="DEFAULT_SELECTION_BG_COLOR"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DEFAULT_SELECTION_BG_COLOR</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const DEFAULT_SELECTION_BG_COLOR:Number = 0xFFFFFF</code>
</div>
<a name="DEFAUT_DRAG_ZOOM_MSG"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DEFAUT_DRAG_ZOOM_MSG</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const DEFAUT_DRAG_ZOOM_MSG:String = "click and drag mouse to zoom into area"</code>
</div>
<a name="DEFAUT_LINE_COLOR"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DEFAUT_LINE_COLOR</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const DEFAUT_LINE_COLOR:Number = 0x000000</code>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
